/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ejercicio.practica9;

/**
 *
 * @author manolo
 */
public class monitorCadena_1 implements Runnable {

    private Matriz m;

    public monitorCadena_1(Matriz m) {
        this.m = m;
    } 
    @Override
    public void run() {
        while (true) {
            for (int i = 0; i < 100; i++) {
                m.insertarDatos();
            }
        }
    }
}
